from django.conf.urls import url
from . import views

urlpatterns = [
    url(r'listArticle$', views.ListArticleView.as_view()),
    url(r'getOneArticle$', views.GetOneArticle.as_view()),
    url(r'delArticle$', views.DelArticleViwe.as_view()),
    url(r'listClassify$', views.ListClassify.as_view()),
    url(r'delClassify$', views.DelClassifyView.as_view()),
    url(r'upload$', views.upload_image),
    url(r'create$', views.CreateView.as_view()),
    url(r'top$', views.TopView.as_view()),
    url(r'count$', views.GetCount.as_view()),
    url(r'listAllClassify', views.ListAllClassify.as_view()),
    url(r'editArticle$', views.EditView.as_view()),
    url(r'uploadPhoto$', views.upload_photo),
]
